package com.zengjianjun.push.msg.properties;


import com.zengjianjun.push.msg.enums.PushMsgPlatformEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zengjianjun
 */
@Data
@Component
@ConfigurationProperties(prefix = "push.msg")
public class PushMsgProperties {

    /**
     * 消息类型
     */
    private PushMsgPlatformEnum type;

    /**
     * 推送消息通知
     */
    private String webhook;
}
